#ifndef __W25QXX_CACHE_H
#define __W25QXX_CACHE_H
#include "sys.h"

extern uint32_t w25qxx_read_cache(uint32_t address, uint8_t *buffer, uint32_t size);
extern uint32_t w25qxx_write_cache(uint32_t address, uint8_t *buffer, uint32_t size);
extern void w25qxx_erase(uint32_t address, uint32_t size);
extern int w25qxx_init(void);
extern void w25qxx_flush(void);
extern uint32_t w25qxx_size(void);

#endif
